package com.vr.xuecheng.media.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vr.xuecheng.media.model.entity.MediaProcess;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hzh
 */
public interface MediaProcessMapper extends BaseMapper<MediaProcess> {
    List<MediaProcess> getMediaProcessList(@Param("shardIndex") int shardIndex, @Param("shardTotal") int shardTotal, @Param("processorCount") int processorCount);

    int updateForStartTask(Long id);
}
